package com.transaction.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;

import com.transaction.config.PageBean;
import lombok.Data;

/**
 * 股票信息表
 * @TableName sys_stock_info
 */
@TableName(value ="sys_stock_info")
@Data
public class SysStockInfo  implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 股票名称
     */
    private String stockName;

    /**
     * 股票类型 外键
     */
    private Long stockType;
    @TableField(exist = false)
    private String typeName;

    /**
     * 所属公司  外键
     */
    private Long countryId;
    @TableField(exist = false)
    private String countryName;

    /**
     * 总股本 单位：亿股
     */
    private BigDecimal totalCapitalStock;

    /**
     * 港股股本 单位：亿股
     */
    private BigDecimal hongKongShareCapital;

    /**
     * 状态 0：正常 1：删除
     */
    @TableLogic
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    @TableField(exist = false)
    private String countryAddress;
    @TableField(exist = false)
    private String countryWebaddress;
    @TableField(exist = false)
    private String chairmanGroup;
    @TableField(exist = false)
    private String[] ids;
    @TableField(exist = false)
    private Integer pageNum;
    @TableField(exist = false)
    private Integer pageSize;
}
